package ute.mvc.service;

import java.util.List;

import ute.mvc.dto.EditAssignmentDTO;
import ute.mvc.dto.StudentAssignmentDTO;
import ute.mvc.model.Assignment;
import ute.mvc.model.MyClass;
import ute.mvc.model.OpenCourse_Subject;

public interface AssignmentService {
	public Assignment getAssignmentById(String assignmentId);
	public void addAssignment(Assignment assignmnent);
	public void updateAssignment(Assignment assignmnent);
	public void deleteAssignment(Assignment assignmnent);
	public String getMaxIdInOpenCourseSubject(OpenCourse_Subject subject);
	public void updateClasses(String assignmentId, String classes);
	public EditAssignmentDTO getEditDTOByAssignmentId(String assignmentId);
	public List<Assignment> getAssignmentsForStudent(MyClass mclass, OpenCourse_Subject subject);
	public StudentAssignmentDTO getStudentAssignmentDTO(String assignmentId, int studentId);
}